package com.hfut.jpoa.dao;

import com.hfut.jpoa.common.dto.ResultDto;
import com.hfut.jpoa.common.exception.DaoException;
import com.hfut.jpoa.dto.ProviderDTO;
import com.hfut.jpoa.model.Provider;

public interface ProviderDAO {

    void insert(Provider record) throws DaoException;

    void insertSelective(Provider record) throws DaoException;

    Provider selectByPrimaryKey(String id) throws DaoException;

    int updateByPrimaryKeySelective(Provider record) throws DaoException;

    int updateByPrimaryKey(Provider record) throws DaoException;
    
	public ResultDto<Provider> findProviderInfoForPage(ProviderDTO providerDTO)
	        throws DaoException;
}